import React, { Component } from "react";

class Card extends Component {
  render() {
    console.log(this.props.children);

    return (
      <div className="card">
        <div className="card-centent">{this.props.children[0]}</div>
        <div className="card-centent1">{this.props.children[1]}</div>
      </div>
    );
  }
}

export default Card;
